package com.powernode.work.dao;

import com.powernode.work.bean.TranBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TranMapper {
    int deleteByPrimaryKey(String id);

    int insert(TranBean record);

    int insertSelective(TranBean record);

    TranBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TranBean record);

    int updateByPrimaryKey(TranBean record);

    List<Map> selectAll(TranBean tranBean);

    Map selectById(String id);

    int  updateStageById(@Param("tranId") String tranId,
                         @Param("stage") String stage);
}